<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0099)http://account.xiaolajiao.com/passport.php?act=register&callback=http%3A%2F%2Fwww.xiaolajiao.com%2F -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <meta name="Keywords" content="">
    <meta name="Description" content="">
    <title>用户注册 - 小辣椒邮箱官网</title>
    <link rel="shortcut icon" href="http://account.xiaolajiao.com/favicon.ico">
    <link rel="icon" href="http://account.xiaolajiao.com/favicon.ico" mce_href="favicon.ico" type="image/x-icon">
    <link href="/Public/Home/public/user.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" async="" src="/Public/Home/public/linkid.js"></script><script async="" src="/Public/Home/public/analytics.js"></script><script charset="utf-8" src="/Public/Home/public/v.js"></script><script type="text/javascript" src="/Public/Home/public/jquery-1.9.1.min.js"></script>

    <script src="/Public/Home/public/jquery.form.js"></script>
</head>
<body style="background:#f2f2f2;">
<div class="header_bg2">
    <div class="logo_user">
        <a href="http://www.xiaolajiao.com/" name="top"><img src="/Public/Home/public/logo.gif"></a>
    </div>
</div>

<div style=" height:auto;" class="usBox">
    <div class="suc_kuang">
        <div class=" usBox_3 clearfix">
            <h4 class="h4_suc">注册小辣椒帐户</h4>
            <p class="suc_p">小辣椒账户能使用小辣椒邮箱、小辣椒社区和小辣椒的其他服务。如果您已拥有小辣椒帐户，则可<a href="<?php $this->U('Login','login')?>" class="cor_yellow">在此登录</a></p>

            <form name="formUser1" autocomplete="off" method="post" action="http://account.xiaolajiao.com/passport.php" id="tabdiv2">
                <table width="100%" cellspacing="3" cellpadding="5" border="0" align="left">
                    <tbody>
                    <tr>
                        <td class="td2" width="20%" align="right">邮箱:</td>
                        <td width="87%" id="phoneArea">
                            <input type="text" id="email" class="inputBg input_kuang2" id="inputmobile" size="20" name="email">

                            <span class="check_tips error_tip" id="mobile_span"></span>
                        </td>
                    </tr>

                    <tr>
                        <td class="td2" align="right">验证码:</td>
                        <td id="captchastrArea">
                            <input type="text" size="8" id="yzm" class="inputBg input_kuang2" name="yzm">&nbsp;

                            <img src="<?php $this->U('Login','idYzm')?>" id="captcha_img_phone" title="看不清楚点击换一种" alt="captcha" style="width:160px;height: 70px;vertical-align: middle;cursor: pointer;" onclick="this.src='<?php $this->U(Login,idYzm)?>&_='+Math.random()">
                        </td>
                    </tr>
                    <tr>
                        <td class="td2" width="20%" align="right">邮箱验证码:</td>
                        <td id="codeArea">
                            <input type="text" name="emailyzm"  class="inputBg input_kuang3"  id="emailyzm">

                            <input type="button" id="send" class="mt_login2 val_m getCode" style="float:left;"  value="发送邮箱验证码">

                            <span class="check_tips error_tip" id="code_span">请输入邮箱收到的验证码。如果一段时间没有收到，请重新获取</span></td>
                    </tr>
                    <tr>
                        <td class="td2" width="20%" align="right">密码:</td>
                        <td id="pwdArea">
                            <input type="password" class="inputBg input_kuang" id="pass1" name="pass1">
                            <span class="check_tips error_tip" id="pwd1_code">密码长度6~16位，数字、字母、字符至少包含两种</span>
                        </td>
                    </tr>
                    <tr>
                        <td class="td2" width="20%" align="right">确认密码:</td>
                        <td id="pwdArea2">
                            <input type="password" class="inputBg input_kuang" id="pass2" name="pass2">
                            <span class="check_tips error_tip" id="pwd2_code"></span>
                        </td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td align="left">
                            <input type="submit" id="forSend" class="btn btn-primary portalmargin_top" value="确认" name="Submit">
                        </td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td><p class="p_cor_hui">点击“立即注册”，即表示您同意并愿意遵守小辣椒<a href="http://www.xiaolajiao.com/service/eula.html" class="cor_yellow" target="_blank">用户协议</a>和<a href="http://www.xiaolajiao.com/service/privacy.html" class="cor_yellow" target="_blank">隐私政策</a></p></td>
                    </tr>
                    </tbody></table>
            </form>
        </div>
        <div class="suc_botm"></div>
    </div>
</div>
<script>



    //倒计时30秒
    function djs(){
        i=1;
        Sid=setInterval(function () {
            $('#send').val('等待'+i+'秒,再次发送');
            if(i>=30){
                $('#send').val('发送邮箱验证码');
                clearInterval(Sid); //清除定时器
            }
            i++
        },1000);
    }

    $(function () {
        //提交表单
        $('#forSend').click(function () {
            if(!$('#email').val()||!$('#emailyzm').val()||!$('#pass1').val()||!$('#pass2').val()){
                alert('请输入完整信息');
                return false;
            }
            if($('#pass2').val()!=$('#pass1').val()){
                alert('密码不一致');
                return false;
            }
            $('#tabdiv2').ajaxSubmit({
                success:function (msg) {
                    if(msg!='ok'){
                        alert(msg);
                    }else{
                        location.href="<?php $this->U('Login','login')?>";
                    }
                },
                url:"",
            });
            return false;
        });

        $('#send').click(function () {
            if($(this).val()!='发送邮箱验证码'){
                return false;
            }
           //获取邮箱
            var email=$('#email').val();
            //获取验证码
            var yzm=$('#yzm').val();

            //请求PHP
            $.post("<?php $this->U('Login','yzR')?>",{email:email,yzm:yzm},function (abc) {
                alert(abc.msg);
                if(abc.type==1){
                    //发送成功--倒计时30 秒
                    djs();
                }
            },'json');
        })
    })
</script>

<div class="footer block">
    <div class="info">
        © <a href="http://www.xiaolajiao.com/">小辣椒邮箱官网</a> 粤ICP证B2-20130549号 粤ICP备12053227号-3号
        <p>版权所有：深圳小辣椒科技有限责任公司 </p>
        <img alt="" src="/Public/Home/public/footer_img.gif"> </div>
    <div class="believe">
        <a target="_blank" href="http://www.315online.com.cn/member/315130034.html"><img alt="诚信网站" src="/Public/Home/public/save.jpg" style="border:none;"></a>
    </div>
</div>


</body></html>
